#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
int main()
{
    std::string s;
    std::string s1;
    s1 = "world";
    s = "hello";
    cout << s << endl;
    s = s + "wrold";
    cout << s << endl;
    cout << s.substr(5, 5) << endl;
    cout << s.size() << endl;
    cout << s.compare("hello") << endl;
    if (s == s1)
    {
        cout << "====" << endl;
    }
    else
    {
        cout << "no no no " << endl;
    }
    cout << s.find_first_of('w') << endl;

    cout << s.find('w') << endl;
    
    return 0;
}